demos: Don't build font features demo on non-UNIX
authorChun-wei Fan <fanchunwei@src.gnome.org>
Tue, 26 Jan 2016 07:56:07 +0000 (15:56 +0800)
committerChun-wei Fan <fanchunwei@src.gnome.org>
Tue, 26 Jan 2016 07:56:07 +0000 (15:56 +0800)
The fonts features demo now uses fontconfig APIs via PangoFT2, which makes
the code not build on non-Linux, so only include this demo in the build
on UNIX.

demos/gtk-demo/Makefile.am

index bbe91eae41f84fcd6f58d02a6960bb84e368b62a..64cc8c4d71b8ca1599a75ee7c4b9ce3bacb7ca81 100644 (file)
@@ -26,7 +26,6 @@ demos_base =                                  \
        event_axes.c                            \
        expander.c                              \
         filtermodel.c                          \
-       font_features.c                         \
        foreigndrawing.c                        \
        gestures.c                              \
        glarea.c                                \
@@ -72,7 +71,7 @@ demos_base =                                  \
        tree_store.c
 
 if OS_UNIX
-demos = $(demos_base) pagesetup.c
+demos = $(demos_base) font_features.c pagesetup.c
 else
 demos = $(demos_base)
 endif
@@ -177,7 +176,7 @@ uninstall-update-icon-cache:
 MSVCPROJS = gtk3-demo gtk3-demo-application
 
 gtk3_demo_FILES = $(gtk3_demo_SOURCES)
-gtk3_demo_EXCLUDES = pagesetup.c
+gtk3_demo_EXCLUDES = font_features.c|pagesetup.c
 
 gtk3_demo_application_FILES = $(gtk3_demo_application_SOURCES)
 gtk3_demo_application_EXCLUDES = dummy